---
title: "Create an App Access"
method: POST
path: "/2024-09/account/app_accesses"
tags: ["App Access"]
---

# Create an App Access

`POST /2024-09/account/app_accesses`

Create a temporary app access redirect token

Required authorization scope: `public.app_access:write`

## Request body

- AppAccessCreate
  - `app_name` 'lyoc' | 'enterprise_onboarding', required
  - `redirect_back_url` string, uri — Specifies the URL to which the user should be redirected when the connection needs to be completed in the courier's portal (for example, Canada Post or AU Post MyPost Business). This ensures the user can return to the app seamlessly after the external interaction.
  - `target` string — Certain apps allow their own target paths App Name: lyoc Available Targets: - couriers: /couriers

## Response `201`

app access successfully created with target and redirect url

- AppAccessSingle — App access
  - `app_access` AppAccess
    - `url` string, uri — App Access redirect URL with one time token
    - `expires_at` string, datetime — Expiry time for URI
  - `meta` Meta
    - `request_id` string — An unique ID represent the request.

## Other responses

- `422` — invalid target

---

[API](https://skmtc.net/easyship/apis/easyship-public-api.md) · [All operations](https://skmtc.net/easyship/apis/easyship-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/easyship/easyship-public-api/revisions/71d737a5fcbf/schema)
