curl --request POST \
--url https://api.goil.com/api/v1/external/account/create \
--header 'Content-Type: application/json' \
--data '
{
"accountType": "<string>",
"phone": "<string>",
"attributesValue": [
{
"attributeId": "<string>",
"value": {
"text": "",
"number": 0,
"boolean": false,
"date": "2023-11-07T05:31:56Z",
"image": "<string>"
},
"tag": "<string>"
}
],
"sendSMS": true
}
'{
"data": {
"account": {
"id": "<string>",
"accountType": "<string>",
"username": "<string>",
"phone": "<string>",
"role": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"subscribed": true,
"blocked": true,
"blockedDate": "<string>",
"validated": true,
"expirationDate": "<string>",
"attributesValue": [
{
"attributeId": "<string>",
"value": {
"text": "",
"number": 0,
"boolean": false,
"date": "2023-11-07T05:31:56Z",
"image": "<string>"
},
"tag": "<string>"
}
],
"businessId": "<string>",
"fullname": "<string>",
"birthday": "<string>",
"metadata": {}
}
}
}Registra una nueva cuenta (usuario externo). Requiere x-client-id.
curl --request POST \
--url https://api.goil.com/api/v1/external/account/create \
--header 'Content-Type: application/json' \
--data '
{
"accountType": "<string>",
"phone": "<string>",
"attributesValue": [
{
"attributeId": "<string>",
"value": {
"text": "",
"number": 0,
"boolean": false,
"date": "2023-11-07T05:31:56Z",
"image": "<string>"
},
"tag": "<string>"
}
],
"sendSMS": true
}
'{
"data": {
"account": {
"id": "<string>",
"accountType": "<string>",
"username": "<string>",
"phone": "<string>",
"role": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"subscribed": true,
"blocked": true,
"blockedDate": "<string>",
"validated": true,
"expirationDate": "<string>",
"attributesValue": [
{
"attributeId": "<string>",
"value": {
"text": "",
"number": 0,
"boolean": false,
"date": "2023-11-07T05:31:56Z",
"image": "<string>"
},
"tag": "<string>"
}
],
"businessId": "<string>",
"fullname": "<string>",
"birthday": "<string>",
"metadata": {}
}
}
}