Skip to content

Callback Body

Request

Returns the callback body set to client's Callback URL

Security
HTTP_BASIC
Path
request_idstringrequired

Valid request id

Example:c9220015e2f48bc7cf4b38186a7b2025
curl -i -X GET \
  -u '<username>:<password>' \
  https://tapi.avanser.com/v1/requests/c9220015e2f48bc7cf4b38186a7b2025/callback_body

Responses

Successful response

Bodyapplication/json
request_idstring

Request Unique Id

Example:"c9220015e2f48bc7cf4b38186a7b2025"
custom_idstring

Custom Id submitted during service creation

Example:"custom client id"
statusstring

Request status

Enum:"completed""failed"
Example:"completed"
messagestring

Request status explained or error reason

Example:"Request completed successfully"
service_numberstring

Provisioned service number, if any (E164 format)

Example:"61290081596"
answer_pointstring

AnswerPoint submitted during service creation (E164 format)

Example:"614201010100"
Response
{ "request_id": "c9220015e2f48bc7cf4b38186a7b2025", "custom_id": "custom client id", "status": "completed", "message": "Request completed successfully", "service_number": "61290081596", "answer_point": "614201010100" }