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

# Handle Callback

`GET /shopify/oauth/callback`

## Request

- Base URL: `https://api.akkio.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.akkio.com/shopify/oauth/callback`
- Auth: none declared

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.dev/akkio/apis/akkio-api.md) - [All operations](https://skmtc.dev/akkio/apis/akkio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akkio/apis/akkio-api/revisions/c477deff6271?raw)
