cURL
curl --request POST \ --url https://app.promptingco.com/api/v1/apps/{appId}/resources \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "resourceId": "<string>" } '
{ "ok": true, "data": { "id": "<string>", "appId": "<string>", "resourceType": "product", "resourceId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "deletedAt": "2023-11-07T05:31:56Z" } }
Organization-scoped API key. Available scopes:
1
product
Successful response
true
Show child attributes