cURL
curl --request POST \ --url https://api.letpiper.com/v1/orgs/{org_id}/allowed-domains/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "domain": "<string>", "headers": {}, "query_params": {} } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "domain": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "headers": {}, "query_params": {} }
Platform token (starts with pat_)
Request schema for creating an allowed domain.
1 - 255
Show child attributes
Successful Response
Response schema for an allowed domain.