Skip to main content
POST
/
invites
/
redeem
Redeem an invite
curl --request POST \
  --url https://slog.ai/invites/redeem \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "inv_tok_01jqinv01234abcd",
  "name": "Jamie Lee"
}
'
{
  "api_token": "slog_key_01jqapikey5678efgh",
  "workspace": {
    "id": "ws_01jqworksp001",
    "name": "Acme Engineering",
    "slug": "acme-engineering"
  }
}

Body

application/json
token
string
required

The invite token from the invite email.

Example:

"inv_tok_01jqinv01234abcd"

name
string

Display name for the new user (only used if creating a new account).

Minimum string length: 1
Example:

"Jamie Lee"

Response

Invite redeemed. Use api_token to authenticate.

api_token
string

Bearer token for the joined workspace.

Example:

"slog_key_01jqapikey5678efgh"

workspace
object