Operation
The channels I may act through
GET
/my/sales-channelsThe sales channels the caller may act through, and at which scope. The one way a client learns its set: a box office app offers these at sign-in and sends the chosen slug as X-Ticketlayer-Channel on everything after.
Returns
Channels retrieved successfully
Errors
- 400
- Bad Request - Invalid input
- 401
- Unauthorized - Authentication required
- 403
- Forbidden - Insufficient permissions
- 404
- Not Found - Resource not found
- 500
- Internal Server Error
Every error names its code and links to it. All error codes
curl -X GET "https://api.ticketlayer.com/v1/my/sales-channels" \ -H "Authorization: Bearer tlak_..." \ -H "X-Ticketlayer-Org: your-org-slug"Response 200
{
"scope": "channel",
"channels": [
{
"id": "string",
"name": "string",
"slug": "string"
}
],
"permissions": [
{
"permission": "orders.create",
"scope": "channel"
}
]
}