In this article
Get Subscription Type
Use this endpoint to view individual subscription types
URL
https://{{HOST}}/subscriptiontype/{{subscriptiontype_id}}
Method
GET
Required IMS Scopes
- subscription_write
- apollo_write
URL Path Parameters
| Name | Description | Example | Type |
|---|---|---|---|
| id required |
Type ID to retreive | GUID | string |
Request Header Parameters
| Type | Value | Description |
|---|---|---|
| Authorization required |
Bearer {access_token} | IMS access token |
| Content-Type required |
application/json | Content Type |
Example
Request
curl -X GET
'https://{{HOST}}/subscriptiontype/SOMETOPICID'
-H 'Authorization: Bearer {access_token}'
Response
{
"id": "SOMETOPICID"
}
Errors
| Error | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbiden. Possible causes: You do not have access to this endpoint (scope) You do not have access to this type |
Response Body Parameters
| Name | Description | Schema |
|---|---|---|
| id | For the type object | string |