capabilities.work

Create Customer with Refreshed Token

A 2-step recipe with Prismatic. We can help you get access.

Recipe · 2 steps

Create Customer with Refreshed Token

Create a new customer tenant after refreshing the access token.

  1. Exchange the supplied refresh token for a fresh JWT access token.
  2. Run the documented createCustomer GraphQL mutation, passing the name and externalId as GraphQL variables and authenticating with the refreshed bearer token.
What you'll need to have ready
  • refreshToken: A valid Prismatic refresh token used to mint a new access token.
  • name: The display name of the customer tenant to create.
  • externalId: An optional external identifier that links this customer back to the provider's own system of record.
For your developer

Arazzo workflow prismatic:create-customer, 2 operations: refreshAuthToken → executeGraphQLQuery. Specs on APIs.io.