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
header
required

See our OAuth2 authentication documentation

Body

Inputs to create a new Authentication

data
object
required

Response

201
application/json

Base Response definition to be used in other Response Serializers.

Be sure to include the data field after using this class

The links object returned in paginated response bodies.

meta
object
required

The meta object returned in paginated response bodies.

data
object[]

An Authentication contains various fields, often credentials such as API tokens, used to access Partner APIs on behalf of a user. The actual fields are held securely by Zapier