POST
/
{alias}
/
users
/
invites
curl --request POST \
  --url https://api.dooki.com.br/v2/{alias}/users/invites \
  --header 'Content-Type: application/json' \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>' \
  --data '{
  "id": 123,
  "group_id": 123,
  "email": "<string>"
}'
{
  "data": {
    "id": 123,
    "group_id": 123,
    "accepted": true,
    "expired": true,
    "email": "<string>",
    "accepted_at": "2023-11-07T05:31:56Z",
    "created_at": {
      "date": "2000-08-17 10:24:24",
      "timezone_type": 3,
      "timezone": "America/Sao_Paulo"
    },
    "updated_at": {
      "date": "2000-08-17 10:24:24",
      "timezone_type": 3,
      "timezone": "America/Sao_Paulo"
    }
  }
}

Authorizations

User-Token
string
header
required
User-Secret-Key
string
header
required

Path Parameters

alias
string
required

Alias da loja

Body

application/json

Detalhes do convite

Response

200
application/json

Convite enviado com sucesso

The response is of type object.