Reuse: Header Fields Auth Accept Content-Type

AuthorizationThe credentials required to authenticate with Cloud Elements. The header always include the user secret and, depending on the endpoint, organization secret, or element instance token. Required Authorization headers are specified above, but in general the Authorization headers required for each request are:
  • Platform API Requests: User {{userSecret}}, Organization {{organizationSecret}}
  • Element API Requests: User {{userSecret}}, Element {{elementInstanceToken}
  • Infrequent API Requests: User {{userSecret}}, Organization {{organizationSecret}}, Element {{elementInstanceToken}

For details see Authorization Headers, Organization Secret, and User Secret.

AcceptIdentifies the media type expected in the response. For Cloud Elements APIs, use application/json.
Content-TypeIndicates the media type of the data sent with the request. For Cloud Elements APIs, use application/json unless explicitly sending a different type.