Skip to main content
POST
/
api
/
v2
/
users
Criar usuário (subconta)
curl --request POST \
  --url https://server.zapperapi.com/api/v2/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "[email protected]",
  "phone": "<string>"
}
'
{
  "user": {
    "id": "<string>",
    "name": "<string>",
    "email": "[email protected]",
    "emailVerified": true,
    "phone": "<string>",
    "phoneVerified": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "document": "<string>",
    "documentType": "CPF",
    "createdById": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API Key global para autenticação na Instance API (Bearer token)

Body

application/json
name
string
required
email
string<email>
required
phone
string | null

Response

201 - application/json

Default Response

user
object
required