Skip to content

Create an application

OpenAPI JSON
POST
/v1/apps
curl --request POST \
--url https://api.eu.apigami.com/v1/apps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "visibility": "private", "redirect_uris": [], "avatar_file_id": null }'

Creates an application in your team. It holds no code and reserves no public name: the slug comes from the manifest of a version, at its first deploy. Requires a confirmed email.

Media typeapplication/json
object
name
required

What a person sees when they connect to it.

string
>= 1 characters <= 200 characters
visibility

private: your team only. unlisted: anyone with the link, published at once. public sends each publication to review first. The person’s decision.

string
default: private
Allowed values: private unlisted public
redirect_uris
Array<string>
default: <= 100 items
avatar_file_id

Only to reuse the logo of another application of your team, its avatar_file_id. A logo of its own is set with the MCP tool app_settings.

string | null format: uuid

The application. Its id is the app_id every other route takes.

Media typeapplication/json
object
id
required

The app_id.

string format: uuid
group_id
required
string format: uuid
name
required
string
redirect_uris
required
Array<string>
avatar_file_id
required
string | null format: uuid
visibility
required
string
Allowed values: private unlisted public
verified_at
required
string | null format: date-time
created_at
required
string format: date-time
Example
{
"visibility": "private"
}

The person’s email is not confirmed yet.

Media typeapplication/json
object
error
required
string
consentPending

Present and true when the approval window is open and the user has not answered within 45 s.

boolean
permission

On consent requested and no grant from emails.send or ai.generate: the permission the user never decided, or refused. Absent for a site.

string
Allowed values: emails ai
settings_url

On no grant: the page of the user’s Apigami space where they allow it again; send them there.

string format: uri
terms

On consent requested, in place of permission: the bare app_id of each application whose terms or subprocessors the user has yet to agree to, unlike the boxes of GET /apps/{app_id}. Only the connect page asks it: send them to connect_url, or to one of your pages.

Array<string>
connect_url

With terms, when the user agrees under your application: your install link, where they tick the boxes still to tick.

string format: uri
Example
{
"error": "verify your email before creating an app"
}