Get subscription by ID
GET/subscriptions/:subscriptionId
Returns a single subscription
Request
Path Parameters
ID of subscription to return
Responses
- 200
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [Active
, Paused
, Completed
, Expired
, Canceled
, Awaiting
, Processed
, Failed
]
Subscription status
Possible values: >= 1
Possible values: >= 1
Amount in THB.
Possible values: [THB
]
Default value: THB
service
object
category
object
Possible values: non-empty
Category name
List of services in this category
Amount in THB.
Possible values: [THB
]
Default value: THB
Possible values: >= 1
Possible values: >= 1
Possible values: >= 1
Quantity should be a multiple of this number
Indicates if the service supports dripfeed delivery
Indicates if the service supports refill
Indicates if the service supports order cancellation
Average delivery time
Possible values: [Default
, Poll
, SEO
, Comment Likes
, Mentions
, Mentions Hashtag
, Mentions with Hashtags
, Mentions User Followers
, Mentions Media Likers
, Custom Comments
, Custom Comments Package
, Custom Replies
, Mentions Custom List
]
{
"id": 0,
"link": "string",
"status": "Active",
"min": 0,
"max": 0,
"posts": 0,
"old_posts": 0,
"delay": 0,
"currency": "THB",
"service": {
"id": 0,
"name": "string",
"category": {
"id": 0,
"name": "string",
"services": [
null
]
},
"description": "string",
"currency": "THB",
"min": 0,
"max": 0,
"step": 0,
"dripfeed": true,
"refill": true,
"cancel": true,
"average_delivery": "string",
"type": "Default"
},
"expires_at": "2024-07-29T15:51:28.071Z",
"created_at": "2024-07-29T15:51:28.071Z"
}
Unauthorized access
Subscription not found