--- title: delegateAccessTokenCreate - GraphQL Admin description: |- Creates a delegate access token. To learn more about creating delegate access tokens, refer to [Delegate OAuth access tokens to subsystems](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/use-delegate-tokens). api_version: 2025-10 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/delegateAccessTokenCreate md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/delegateAccessTokenCreate.md --- # delegate​Access​Token​Create mutation Creates a delegate access token. To learn more about creating delegate access tokens, refer to [Delegate OAuth access tokens to subsystems](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/use-delegate-tokens). ## Arguments * input [Delegate​Access​Token​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DelegateAccessTokenInput) required The input fields for creating a delegate access token. *** ## Delegate​Access​Token​Create​Payload returns * delegate​Access​Token [Delegate​Access​Token](https://shopify.dev/docs/api/admin-graphql/latest/objects/DelegateAccessToken) The delegate access token. * shop [Shop!](https://shopify.dev/docs/api/admin-graphql/latest/objects/Shop) non-null The user's shop. * user​Errors [\[Delegate​Access​Token​Create​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/DelegateAccessTokenCreateUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### delegateAccessTokenCreate reference ## Mutation Reference ```graphql mutation delegateAccessTokenCreate($input: DelegateAccessTokenInput!) { delegateAccessTokenCreate(input: $input) { delegateAccessToken { # DelegateAccessToken fields } shop { # Shop fields } userErrors { field message } } } ``` ## Input ```json { "input": { "delegateAccessScope": [ "" ], "expiresIn": 1 } } ``` ##### Variables ``` { "input": { "delegateAccessScope": [ "" ], "expiresIn": 1 } } ``` ##### Schema ``` input DelegateAccessTokenInput { delegateAccessScope: [String!]! expiresIn: Int } ```