Catalog and services
POST/v1/platform/listings

Create platform listing

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/platform/listings" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"service_id":"svc_01jd2x3k4m5n6p7q8r9s0t1v2w","category":"data"}'

Lists an active service on the caller's platform under a category (created if missing), or moves and re-lists it if already listed. Platform operators only, with connect:manage.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/platform/listingsBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Body

application/json · required. Fields are listed under Request body below.

Requires permissionconnect:manage
Held by operator, merchant_owner. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Request Body

application/json
  1. body
service_id*Service Id

Catalog service id (svc_...).

category*Category
Length1 <= length <= 80

Response Body

Success.

application/json
  1. response
listing*
[key: string]?any