POST
/
v2
/
authentications
curl --request POST \
  --url https://api.zapier.com/v2/authentications \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": {
    "title": "My new auth",
    "app": "8cdbc496-c95c-4f19-b3a3-fee03ed5f924",
    "authentication_fields": {
      "secret": "example_E4CrHVvRuxTXrPFLyyZFeRJwJcx2ELQZ"
    }
  }
}'
{
  "links": {
    "next": null,
    "prev": null
  },
  "meta": {
    "count": 1,
    "limit": 1,
    "offset": 0
  },
  "data": [
    {
      "type": "authentication",
      "id": "example_DOb4nWkz",
      "app": "a8aaed31-e257-4479-aaa9-ca02fe2fab04",
      "is_expired": false,
      "title": "Example zapier@example.com #5"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Body

data
object
required

Response

201 - application/json
links
object
required

The links object returned in paginated response bodies.

meta
object
required

The meta object returned in paginated response bodies.

data
object[]

Was this page helpful?