Apps & Publishing

Create App domain

post/api/v1/apps/{appId}/domains

Request

  • Base URL
    https://app.promptingco.com
  • URL
    https://app.promptingco.com/api/v1/apps/{appId}/domains
  • Auth
    • API key in header x-api-key
    • or HTTP bearer
    • or API key in cookie better-auth.session_token

Path parameters

appIdstring required

Request body

domainstring required
type'web' | 'metric' | 'redirect'
originstring

Response

Successful response

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.