Invites
Invites
POST /api/v1/invite
Create accept Invite
Request Body
Type: AcceptInvite
| Field | Type | Description |
|---|---|---|
user_id | string | |
firstname | string | |
name | string | |
password | string | |
repeat_password | string | |
new_username | string | |
old_username | string | |
done | bool | |
apikey | string | |
error | string | |
invite_token | string |
Response
Type: AcceptInvite
| Field | Type | Description |
|---|---|---|
user_id | string | |
firstname | string | |
name | string | |
password | string | |
repeat_password | string | |
new_username | string | |
old_username | string | |
done | bool | |
apikey | string | |
error | string | |
invite_token | string |
Example
curl -X POST \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.seeme.ai/api/v1/inviteGET /api/v1/invite/{user_id}/{invite_token}
Get Invite
Parameters
| Name | In | Type | Required |
|---|---|---|---|
user_id | path | string | true |
invite_token | path | string | true |
Response
Type: InviteReply
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
username | string | |
error | string |
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/invite/{user_id}/{invite_token}