Skip to content

Resend an invite to test number of sender for project
GA
deprecated

Request

Resend an invite and returns state for test number of sender for a project.

Security
BasicAuth and BearerAuth and OAuth2Production
Path
projectIdstringrequired

The unique ID of the project. You can find this on the Sinch Dashboard.

senderIdstringrequired

The unique ID of the sender.

testNumberstringrequired

the user's phone number in E.164 format. For example, for a user with the US phone number +1-222-333-4444, the resulting parameter is '+12223334444'.

curl -i -X GET \
  -u '<username>:<password>' \
  'https://provisioning.api.sinch.com/v1/projects/{projectId}/rcs/senders/{senderId}/testNumbers/{testNumber}/retry' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

test number state

Bodyapplication/json
numberstring, (e.164 phone number)required

Test phone number.

statestring(RcsTestNumberStatesEnum)required

Test phone state.

Enum ValueDescription
DECLINED

The test user declined the invitation to become a tester for the agent.

EXPIRED

The test user did not respond to the verification invite before it expired.

FAILED

The test number could not be added after all attempts were exhausted.

INVALID

The test number configuration or format is invalid.

PENDING

The test number verification is pending backend or operator approval.

REJECTED

The test number could not be verified because the agent has an incorrect supplier configuration.

UNVERIFIED

The test number has not been verified yet.

VERIFIED

The test number has been successfully verified and is ready for use.

UNRECOGNIZED

The value returned by an upstream system is not recognized by this API version.

submittedstringrequired

Date of submitting phone number.

Response

Response with test number state.

Please note that if you send an invite to verified number, state will be changed to unverified.

{ "number": "+46123123111", "state": "UNVERIFIED", "submitted": "2023-01-19t13:11:08.204Z" }