TrustedAuthentication

Token for a Contact

Get an access token or refresh an existing one. The access token is passed in the Authorization header parameter in endpoints that require authentication.

post/token/{contact_id}

Request

  • Base URL: https://api.ebury.io
  • URL: https://api.ebury.io/token/{contact_id}
  • Auth: API key in header x-api-key

Path parameters

contact_idstring required

The id of the contact

Headers

Authorizationstring required

Where credentials is a Base64 encoded string of auth_client_id:auth_client_secret

Response

Listf of contacts IDs that are from the given client

access_tokenstring

An OAuth access token that can be used to call the API

token_type'Bearer'

The Authorization header scheme to use when making requests, will be Bearer.

expires_instring

Expiry period in seconds from time token returned, currently returns 3600 (1 hour).

id_tokenstring

A signed, base 64 encoded JSON Web Token that provides verification of the identity that authorized the request. The token includes the client identifier, which is a required parameter on the majority of API calls.

Changes

No recorded changes to this operation across all 1 revision of this API.