Skip to main content
POST
/
costummer
cURL
curl --request POST \
  --url https://api.allcomtelecom.com/api:XUynQtIz/costummer \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "20234397fs9vcd978qr308q9703cbfdbd9vuy07wrw97rq90qrw08",
  "page": "1",
  "per_page": "25",
  "offset": "offset",
  "company_name": "company_name",
  "fantasy_name": "fantasy_name",
  "tax_id": "tax_id"
}
'
{
  "id": 0,
  "created_at": "now",
  "accounts_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "company_name": "string",
  "fantasy_name": "string",
  "tax_id": "string",
  "webhook": "string"
}

Body

application/json

Informações necessárias para criar o novo usuário.

token
string
Example:

"20234397fs9vcd978qr308q9703cbfdbd9vuy07wrw97rq90qrw08"

page
string
Example:

"1"

per_page
string
Example:

"25"

offset
string
Example:

"offset"

company_name
string
Example:

"company_name"

fantasy_name
string
Example:

"fantasy_name"

tax_id
string
Example:

"tax_id"

Response

Cliente criado com sucesso!

Sucesso
string
Example:
{
"id": 0,
"created_at": "now",
"accounts_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"company_name": "string",
"fantasy_name": "string",
"tax_id": "string",
"webhook": "string"
}