--- title: >- delegateAccessTokenCreate mutation now returns expiresIn - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/delegateaccesstokencreate-mutation-now-returns-expiresin md: >- https://shopify.dev/changelog/delegateaccesstokencreate-mutation-now-returns-expiresin.md metadata: effectiveApiVersion: 2026-04 affectedApi: - displayName: Admin GraphQL API handle: admin-graphql primaryTag: displayName: API handle: api secondaryTag: displayName: New handle: new indicatesActionRequired: false createdAt: '2026-03-26T12:48:41-04:00' postedAt: '2026-04-01T12:00:00-04:00' updatedAt: '2026-03-26T16:29:35-04:00' effectiveAt: '2026-04-01T12:00:00-04:00' --- April 1, 2026 Tags: * Admin GraphQL API * 2026-04 # `delegateAccessTokenCreate` mutation now returns `expiresIn` We have introduced an `expiresIn` field to the `DelegateAccessToken` type, which is returned by the [`delegateAccessTokenCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/delegateAccessTokenCreate) mutation. This addition allows app developers using delegate tokens to know precisely when their tokens will expire. The `expiresIn` field provides the number of seconds remaining until the token expires, aligning with the data available through the REST Admin API's delegate endpoint. This feature is particularly beneficial when the `expiresIn` input is not specified, causing the delegate token to inherit the parent token's Time to Live (TTL). Previously, developers had no means to ascertain the expiration time of such tokens. This update is available in GraphQL Admin API version **2026-04** and later.