Skip to main content
POST
/
api
/
v1
/
org
/
applications
Create Application Api Endpoint
import requests

url = "https://platform.ankra.app/api/v1/org/applications"

payload = {
    "name": "<string>",
    "app_repo_credential_name": "<string>",
    "app_repo_owner": "<string>",
    "app_repo_name": "<string>"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "id": "<string>",
  "errors": []
}

Documentation Index

Fetch the complete documentation index at: https://docs.ankra.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Body

application/json
name
string
required
app_repo_credential_name
string
required
app_repo_owner
string
required
app_repo_name
string
required
app_repo_branch
string
default:main

Response

Successful Response

id
string | null
errors
ResourceError · object[]