Headers

To communicate with the Thredd Cards API, you must include the correct headers in each API request.

Request Headers

The following headers must be included in requests made to the core API:

NameDescriptionValue
AuthorizationOAuth Credentials to authenticate your requestYour OAuth Token
'Content-Type'The media type of the requested resourceapplication/x-www-form-urlencoded

Pagination Headers

For some endpoints - such as the List card transaction(s) endpoint you can pass pagination values:

NameDescriptionValue
dateFromThe date from which you want your data to start fromFormat = YYYYMMDD e.g. 20200930
dateToThe date from which you want your data to end onFormat = YYYYMMDD e.g. 20210930