Get resource association
Get an exact resource association.
Authorizations:
Scopes:
Request rate limit:
query Parameters
resourceType required | string Enum: "NUMBER" "DOMAIN" "ALPHA" The type of resource to be used. |
channel required | string Enum: "SMS" "MMS" "EMAIL" The channel for which the resource will be used. |
applicationId required | string <= 255 characters Example: applicationId=test-application The unique identifier of the application. This ID will be a URL path parameter. We recommend using values that do not need URL encoding for easier interaction with other API endpoints. |
entityId | string <= 255 characters Example: entityId=test-entity The unique identifier of the entity. This ID will be a URL path parameter. We recommend using values that do not need URL encoding for easier interaction with other API endpoints. If no entity is associated with this resource, set the entityId to |
resourceId required | string <= 255 characters Example: resourceId=test-resource The unique identifier of the resource. It depends on both the |
Responses
OK
Unauthorized
Forbidden
Not Found
Too Many Requests
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
curl -L -g 'https://{baseUrl}/provisioning/1/associations/single?resourceType=%7BresourceType%7D&channel=%7Bchannel%7D&applicationId=test-application&entityId=test-entity&resourceId=test-resource' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 200
- 401
- 403
- 404
- 429
- 500
{- "resourceType": "NUMBER",
- "channel": "SMS",
- "applicationId": "test-application",
- "entityId": "test-entity",
- "resourceId": "test-resource"
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See