Documentation Index

Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt

Use this file to discover all available pages before exploring further.

Resubscribe SMS Users

Prev Next

The SMS Resubscribe API enables you to update the status of an unreachable phone number to reachable in Insider One's SMS product.

A newer version of the Resubscribe API is available, supporting bulk data ingestion. While the older version is still supported, we recommend using the latest version for improved functionality and future compatibility.

Endpoint and Headers

POST https://contact.useinsider.com/sms/v1/subscribe

Visit our Postman collection to test this request.

Headers

Header

Sample Value

Description

X-PARTNER-NAME

mybrand

This is your partner name. Navigate to InOne > Inone Settings > Account Settings to copy your partner name. The partner name should be lowercase.

X-REQUEST-TOKEN

1a2b3c4e5d6f

This key is required to authorize your request. Refer to API Authentication Tokens to generate your Global Resubscribe token.

Content-Type

application/json

This header specifies the media type of the resource.

Body Parameters

Parameter

Description

Data Type

Required

phone_number

User's phone number in E.164 format (e.g. +6598765432)

String

Yes

The phone number validation system detects issues such as redundant country codes or incorrect formats and accepts only valid numbers. Whether uploaded with or without a country code, all phone numbers are automatically standardized to the correct format.

Sample Request

The sample below displays a request to subscribe a user to SMS communications.

Every request to the request endpoint requires a JSON-formatted request body containing your phone number’s content and metadata, including the subscriber’s phone number.

curl --location --request POST 'https://contact.useinsider.com/sms/v1/subscribe' \
--header 'Content-Type: application/json' \
--header 'X-PARTNER-NAME: mybrand' \
--header 'X-REQUEST-TOKEN: a1b2c3d4e5f6' \
--data-raw '{
     "phone_number": "+6598765432"
}'

Sample Responses

The following are some sample responses you might receive for your request.

200 OK

{
  "statusMessage": "OK"
}

400 Bad Request

{
  "statusMessage": "Bad request"
}

401 Unauthorized

{
  "statusMessage": "Unauthorized"
}

Limitations

  • All functions must be executed with a simple HTTPS POST request.

  • Only phone numbers can be sent via this API. No data can be retrieved.

  • You can send 600 requests/per minute with the same API Key. If you exceed the rate limit, you will receive a 429 error.

  • The API Key should be provided as the authorization key in the request header. If the key is incorrect, the operation will not be executed, and an authorization error will return in the response.

  • The value of the X-PARTNER-NAME header should be lowercase.

The default limit shown here is a standard baseline. If your use case requires higher capacity, feel free to reach out to the Insider One team — we can adjust it to fit your needs.