Skip to main content

createCredential

Create an API credential to authenticate and authorize API requests to the Holaplex Hub.

createCredential(
input: CreateCredentialInput!
): CreateCredentialPayload!

Arguments

createCredential.input ● CreateCredentialInput! non-null input

Type

CreateCredentialPayload object

The response payload returned after successfully creating an API credential. It includes the newly created Credential object, which represents the API credential, as well as an AccessToken object that can be used to authenticate requests to the Hub API.