# completePhoneNumberVerification

> The `completePhoneNumberVerification` mutation. Returns `AccessToken`.

Source: https://docs.gastrogate.io/docs/api/mutations/completePhoneNumberVerification

```graphql
completePhoneNumberVerification(
  requestId: ID!
  token: String!
): AccessToken
```

## Arguments

| Name | Type | Description |
| --- | --- | --- |
| `requestId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md)! |  |
| `token` | [`String`](https://docs.gastrogate.io/docs/api/types/String.md)! |  |

## Returns

[`AccessToken`](https://docs.gastrogate.io/docs/api/types/AccessToken.md)

## Example

```graphql
mutation CompletePhoneNumberVerification($requestId: ID!, $token: String!) {
  completePhoneNumberVerification(requestId: $requestId, token: $token) {
    expires
    token
    parseToken
  }
}
```

```bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { completePhoneNumberVerification(...) { __typename } }"}'
```
