Test sending an SMS message

This endpoint allows you to send a test SMS message using the configured SMS integration settings for a specific App Integration. It is useful for verifying that your SMS provider credentials (e.g., API keys, sender ID, etc.) are correctly set up and functioning.

Use this to confirm the integration works before enabling SMS notifications or sending real user messages.

Test sending an SMS message

post
Path parameters
appIntegrationIdstringRequired

The id of the app integration.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Auth-KeystringRequired

Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.

Example: YOUR_AUTH_KEY
Body

Represents the data required to test sending an SMS using an external SMS integration (e.g., Twilio). This DTO is typically used to verify the integration credentials and messaging capabilities.

usernamestring · min: 1Required

The username or identifier for the SMS integration. For Twilio, this is the Account SID (String Identifier).

passwordstring · min: 1Required

The password or authentication token for the SMS integration. For Twilio, this is the Auth Token.

phoneNumberFromstring · min: 1Required

The sender's phone number used by the SMS integration. Must be in E.164 format (e.g., +1234567890).

phoneNumberTostring · min: 1Required

The recipient's phone number to which the test SMS will be sent. Must be in E.164 format (e.g., +1234567890).

messagestring · min: 1Required

The content of the SMS message to be sent during the test.

Responses
chevron-right
200

The request was successful.

application/json

This provides interfaces for API responses with data.

successbooleanRead-onlyRequired

This is the flag to indicate whether the API call is successful or not.

statusCodeinteger · int32Read-onlyRequired

This is the HTTP status code. This is used to determine the status code to be returned to the client.

messagestring · min: 1Read-onlyRequired

This is the message to be displayed to the user.

databooleanRead-onlyOptional

This is the data to be returned to the client.

post
/api/v1/app-integrations/{appIntegrationId}/sms/test

Last updated