Get Auto Text Reply Message Details

From docs
Revision as of 06:39, 21 July 2026 by Ashley DeBon (talk | contribs) (Store Auto Text Reply Message)
Jump to: navigation, search

Mobile_API »Store Auto Text Reply Message

Base URL

https://apimobile.callproof.com

Endpoint

/api/voice/auto-text-reply-message

Purpose

Saves an automatic text reply message for a company Twilio phone number. When voicemail is enabled on that number, auto-text is turned on and the reply message is stored.

HTTP Method

POST

Headers

Header Required Description
Authorization Yes Bearer access token

Security

  • Yes – Requires Bearer Token authentication.

Parameters

Path Parameters

None.

Query Parameters

None.

Request Body

Parameter Type Required Description
phone_number string Yes Twilio phone number that will send the auto text reply
messages string Yes Auto reply message text (maximum 140 characters)

Successful Response (200)

Indicates that the auto text reply message was saved successfully.

Field Type Description
clientStatusCode integer Status indicator for the client (for example, 200)
user_id integer Identifier of the authenticated user
company_id integer Identifier of the authenticated user’s company
message string Confirmation message (for example, "The auto text reply message details added successfully.")
uri string Requested resource URI

Error Responses

Status Code Meaning
200 Validation failed – response body uses clientStatusCode 401 with the first validation error message
400 Bad Request – the auto text reply could not be saved
401 Unauthorized – missing, invalid, or expired Bearer token
  • Validation (HTTP 200, clientStatusCode 401) – Missing phone_number or messages, or messages longer than 140 characters.
  • 400 – An error occurred while saving the auto text reply (for example, "Error while adding auto text reply message details").
  • 401 – Authentication failed or the access token is missing/expired.