Create an agency pitch deck

POST/decks

Creates an agency-owned deck from creators already in the authenticated agency roster. Creation enforces the agency plan's pitch-deck allowance. Image and cover uploads, remote image ingestion, deck deletion, and creators outside the agency roster are not supported.

AuthorizationBearer <token>

Public API key from creator or agency settings. The complete secret is shown once.

In: header

Header Parameters

Idempotency-Key*string

Unique value up to 128 characters. Matching requests are replayed for 24 hours.

Length1 <= length <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/decks" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "slug": "summer-creators",    "title": "Summer creator shortlist",    "bio": "Creators selected for the summer launch.",    "contact_email": "[email protected]",    "creator_ids": [      "66b0f51d46071dc43b2db103"    ],    "tags": [      "summer",      "fashion"    ],    "accent_color": "#CF114F",    "visibility": "link"  }'
{  "meta": {},  "request_id": "string",  "data": {    "id": "string",    "agency_id": "string",    "creator_ids": [      "string"    ],    "slug": "string",    "title": "string",    "bio": "string",    "contact_email": "[email protected]",    "tags": [      "string"    ],    "picture_url": "http://example.com",    "cover_url": "http://example.com",    "theme": "string",    "accent_color": "string",    "cta": "partnerWithMe",    "location": "string",    "background_color": "string",    "visibility": "link",    "has_password": true,    "editor_url": "http://example.com",    "share_url": "http://example.com",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}