Snapvisor Docs
API ReferenceAuthentication

Exchange a tokenless GitHub Actions token for an Argos token

Called by GitHub Actions to exchange a tokenless bearer token for a short-lived Argos project token. The provided commit and branch must match the GitHub workflow run.

POST
/auth/github-actions/tokenless/exchange

Called by GitHub Actions to exchange a tokenless bearer token for a short-lived Argos project token. The provided commit and branch must match the GitHub workflow run.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/auth/github-actions/tokenless/exchange" \  -H "Content-Type: application/json" \  -d '{    "tokenlessToken": "string",    "commit": "string",    "branch": "string"  }'
{  "token": "string",  "expiresAt": "string"}