---
title: "Handle Callback"
method: GET
path: "/shopify/oauth/callback"
---

# Handle Callback

`GET /shopify/oauth/callback`

After the user either accepts or declines our scopes, they will be redirected here. If they accepted, our job here is to make another call to Shopify to turn the provided temporary token into a permanent token.

## Query parameters

- `code` string, required
- `hmac` string, required
- `host` string, required
- `shop` string, required
- `timestamp` string, required
- `state` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/akkio/apis/fastapi.md) · [All operations](https://skmtc.net/akkio/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akkio/fastapi/versions/6662a407c637/schema)
