cURL
curl --request GET \ --url https://app.promptingco.com/api/v1/apps/{appId}/domains \ --header 'x-api-key: <api-key>'
{ "ok": true, "data": [ { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "deletedAt": "2023-11-07T05:31:56Z", "domain": "<string>", "scope": "app", "productId": null, "appId": "<string>", "cloudflareId": "<string>", "type": "web", "origin": "<string>" } ] }
Organization-scoped API key. Available scopes:
1
Successful response
true
Show child attributes