Manage testers

All agents belong to a brand (business, organization, or group). Before you create an agent, you first need to create a brand. Brands are purely organizational, to help you group related agents together.

Code snippets on this page come from our Python samples.

Add a tester to an agent

Python

endpoint_url = (BASE_ENDPOINT + 'testers')

body = {
  "agentId": agentId,
  "phoneNumber": msisdn
}

response = authed_session.post(endpoint_url, data=json.dumps(body))
This code is an excerpt from our RBM Management API sample.

List the testers of an agent

Python

endpoint_url = (BASE_ENDPOINT +
  'testers?' +
  'agentId=' + agentId)

response = authed_session.get(endpoint_url)
This code is an excerpt from our RBM Management API sample.

Retrieve the status of a tester

Python

endpoint_url = (BASE_ENDPOINT +
  testerId +
  '?agentId=' + agentId)

response = authed_session.get(endpoint_url)
This code is an excerpt from our RBM Management API sample.

Delete a tester

Python

endpoint_url = (BASE_ENDPOINT +
  testerId +
  '?agentId=' + agentId)

response = authed_session.delete(endpoint_url)
This code is an excerpt from our RBM Management API sample.