Skip to main content
POST
/
api
/
v1
/
users
Criar usuário (convite)
curl --request POST \
  --url https://app.synkrony.ai/api/v1/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user": {
    "email": "maria@example.com",
    "role": "member",
    "project_ids": [
      1,
      2
    ]
  }
}
'
{
  "data": {
    "email": "<string>",
    "identifier": "<string>",
    "role": "<string>",
    "project_ids": [
      123
    ]
  }
}

Authorizations

Authorization
string
header
required

API token no formato Bearer. Exemplo: Bearer YOUR_API_TOKEN

Body

application/json
user
object
required

Response

Invitation created successfully

data
object
required