Company Id
Account subdomain
Team member id
curl -L \ --url '/v2/rejection_reasons/{id}' \ --header 'Authorization: YOUR_API_KEY'
{ "Id": 1, "Name": "text", "Type": "NoneSpecified", "Actions": [ { "Id": 1, "Type": "SendEmail", "Action": null } ] }
curl -L \ --request DELETE \ --url '/v2/rejection_reasons/{id}' \ --header 'Authorization: YOUR_API_KEY'
No body
curl -L \ --url '/v2/rejection_reasons' \ --header 'Authorization: YOUR_API_KEY'
[ { "Id": 1, "Name": "text", "Type": "NoneSpecified", "Actions": [ { "Id": 1, "Type": "SendEmail", "Action": null } ] } ]
NoneSpecified
TheyRejectedUs
WeRejectedThem
curl -L \ --request POST \ --url '/v2/rejection_reasons' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json-patch+json' \ --data '{ "Id": 1, "Name": "text", "Type": "NoneSpecified", "Actions": [ { "Id": 1, "Type": "SendEmail", "Action": null } ] }'
curl -L \ --request PUT \ --url '/v2/rejection_reasons/{id}' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json-patch+json' \ --data '{ "Id": 1, "Name": "text", "Type": "NoneSpecified", "Actions": [ { "Id": 1, "Type": "SendEmail", "Action": null } ] }'