Senders
The sender's Allo number and user
PUT
projectKeyheader
AuthorizationBearer <token>A project API key (sk_live_…) with read, enroll or admin scope.
id*stringLength
1 <= length <= 128application/json- body
allo_user_id*stringThe Allo user id (usr-…), not the email; from GET /v1/project/providers/allo/users.
Length
1 <= lengthnumber*stringE.164; one the Allo key can see and that can send SMS.
Length
5 <= lengthDefault Response
application/json- response
success*trueValue in
truedata*meta*curl -X PUT 'http://localhost:8080/v1/senders/string/channels/sms' \ -H 'Content-Type: application/json' \ -d '{ "allo_user_id": "string", "number": "string"}'{ "success": true, "data": { "id": "string", "senderId": "string", "projectId": "string", "connectionId": "string", "channel": "string", "address": "string", "status": "string", "dailyLimit": -9007199254740991, "weeklyLimit": -9007199254740991, "minGapSeconds": -9007199254740991, "optedInAt": "2019-08-24T14:15:22Z", "config": { "property1": null, "property2": null }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "meta": { "request_id": "string" }}