Snapvisor Docs
API ReferenceAuthentication

Exchange a GitHub Actions OIDC token for an Argos token

Called by GitHub Actions to exchange an OIDC token for a short-lived Argos project token.

POST
/auth/github-actions/oidc/exchange

Called by GitHub Actions to exchange an OIDC token for a short-lived Argos project token.

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

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