RCSv4

Invite an RCS test device

POST/rcs/senders/{channelId}/test_devices

Invite a phone to test a submitted sender. The phone gets a prompt in Google Messages; once it accepts (status is accepted), the sender can message it as soon as Google verifies the sender, before any launch. OAuth apps need numbers:manage.

Path parameters

channelIdRequiredstring

The RCS sender's channel id (ch_...).

Headers

AuthorizationRequiredstring

Your API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.

Bearer

Body parameters

JSON
phone_numberRequiredstring

The tester's phone number (E.164).

Returns

dataoptionalRcsTestDevice[]

Array of RcsTestDevice

test_device_idRequiredstring
phone_numberRequiredstring
statusRequiredstring

The invite's state, e.g. pending until the tester accepts it and accepted after. The sender reaches the phone only once it's accepted.

Response codes

201Every test device, with the new one
400`invalid_channel_id` or `invalid_field`.
401Your API key is missing or invalid. Pass it as a bearer token.
404`rcs_sender_not_found`.
409`rcs_sender_state_conflict`: submit the sender first.
422`rcs_test_device_rejected`: the phone couldn't be invited.
502`upstream_unavailable`: the RCS network couldn't be reached. Retry with backoff.

Sends a live request with your values and shows the real response below. Your key is stored only in this browser.

Request
curl -X POST https://api.blooio.com/v4/rcs/senders/ch_a1b2c3d4/test_devices \
Body object
Response objectexample
{  "data": [    {      "test_device_id": "obj_a1b2c3d4",      "phone_number": "+15551234567",      "status": "active"    }  ]}