curl --location --request POST '/customer_service_records' \
--header 'Content-Type: application/json' \
--data-raw '{
"additional_data": {
"account_number": "123456789",
"address_line_1": "123 Main St",
"authorized_person_name": "John Doe",
"billing_phone_number": "+12065551212",
"city": "New York",
"customer_code": "123456789",
"name": "Entity Inc.",
"pin": "1234",
"state": "NY",
"zip_code": "10001"
},
"phone_number": "+1234567890",
"webhook_url": "https://example.com/webhook"
}'
{
"data": {
"created_at": "2023-01-01T00:00:00Z",
"error_message": null,
"id": "db7cebdb-21a8-4e89-8f51-e03ba6b799bb",
"phone_number": "+2003271000",
"result": null,
"status": "pending",
"updated_at": "2023-01-01T00:00:00Z",
"webhook_url": "https://example.com/webhook"
}
}
Authorization: Bearer ********************