Ensure a default media kit exists

POST/media-kits

Agency keys supply creator_id. Creator keys infer their own creator and omit creator_id. Repeated calls return the existing default kit.

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/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/media-kits" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "creator_id": "66b0f51d46071dc43b2db103"  }'
{  "meta": {},  "request_id": "string",  "data": {    "created": true,    "media_kit": {      "id": "string",      "creator_id": "string",      "name": "string",      "slug": "string",      "visibility": "string"    },    "editor_url": "http://example.com",    "share_url": "http://example.com"  }}