# customerAccessTokenRenew Renews a customer access token. ## Authentication > **Authentication Required**: Secret API key with scope `customer:auth` ## Mutation Structure ```graphql mutation { customerAccessTokenRenew(customerAccessToken: String!) { customerAccessToken { # CustomerAccessToken fields } customerUserErrors { # CustomerUserError fields } } } ``` ## Input Arguments | Argument | Type | Required | Description | |----------|------|----------|-------------| | customerAccessToken | String | Yes | The customer access token to renew | ## Return Type [CustomerAccessTokenRenewPayload](/reference/storefront/1.3.0/objects/customer-access-token-renew-payload) - Payload returned by the customerAccessTokenRenew mutation. Contains an optional renewed customer access token and a list of any errors that occurred during the operation. ## Example ```graphql mutation { customerAccessTokenRenew(customerAccessToken: "eyJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImN1c3RvbWVyX2lkIjoiMTIzNDU2Nzg5MCJ9fQ.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ") { customerAccessToken { accessToken expiresAt } customerUserErrors { field message code } } } ``` ## Related Types - [CustomerAccessTokenRenewPayload](/reference/storefront/1.3.0/objects/customer-access-token-renew-payload)