entity-group

Generate JWT Token

Generate a JWT token for an entity group with the given options. This token can be used to authenticate to any entity in the entity group in the Mercoa API and iFrame.

<Warning>We recommend using this endpoint. This will enable features such as approvals and comments.</Warning>

post/entityGroup/{entityGroupId}/token

Request

  • Base URL: https://api.mercoa.com
  • URL: https://api.mercoa.com/entityGroup/{entityGroupId}/token
  • Auth: HTTP bearer

Path parameters

entityGroupIdstring required

Entity Group ID or Entity Group ForeignID

Request body

expiresInstring

Expressed in seconds or a string describing a time span. The default is 1h.

sessionIdstring

Optional session ID to use for the token. If not provided, this token will not be associated with a session.

Response

Response with status 200

string required

Changes

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