Hey Codans! I am trying to use the Zapier API Request action and am having trouble formatting the step.
Specifically, I am trying to use ‘Add permission’. I have the Zap formatted like this:
HTTP Method - POST
URL - https://coda.io/apis/v1/docs/Y6p8WjUDv-/acl/permissions
Query String Parameters -
access - write
principal - 'test@mytestemail.com
The API Documentation shows the payload should be formatted this way:
{
- “access”: “readonly”,
- “principal”: {
- “type”: “email”,
- “email”: “example@domain.com”},
- “suppressEmail”: true
}
I am not sure how to format the Zap step appropriately. I have tried single-quotes, double-quotes, and no quotes.
Help?