Skip to main content
PUT
https://staging.api.onenumber.africa/v1
/
recipients
/
{reference}
Update Recipient
curl --request PUT \
  --url https://staging.api.onenumber.africa/v1/recipients/{reference} \
  --header 'Authorization: Bearer <token>'
{
  "reference": "<string>",
  "phoneNumber": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "statusCode": 123,
  "message": "<string>",
  "data": [
    {
      "reference": "<string>",
      "phoneNumber": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "email": "<string>"
    }
  ]
}

Request Path Parameters

reference
string
The reference of the Recipient.

Request Body Parameters

reference
string
The reference of the Recipient.
phoneNumber
string
The phone number of the Recipient.
firstName
string
The first name of the Recipient.
lastName
string
The last name of the Recipient.
email
string
The email of the Recipient.

Successful Response Data

statusCode
int
required
The status of the response. For successful response, value is 201. Check the Response Codes page for details.
message
string
required
The message of the response.
data
array