Skip to main content
GET
/
access_grants
/
{access_grant_token}
Get access grant by token
curl --request GET \
  --url https://api.vantage.sh/v2/access_grants/{access_grant_token} \
  --header 'Authorization: Bearer <token>'
{
  "token": "rsrc_accss_grnt_07ed83a5069b91c4",
  "resource_token": "rprt_b8df14aa8a4ad5c7",
  "access": "denied",
  "team_token": "team_14bd13a8bccb8406",
  "created_at": "2024-01-18T17:39:36Z",
  "created_by": "usr_0e1cb254743b26cb"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

access_grant_token
string
required

Response

AccessGrant model

token
string
resource_token
string

The token for any resource the AccessGrant is applied to.

Example:

"rprt_abcd1234"

access
string

The access status of the AccessGrant.

team_token
string

The Team token for which an AccessGrant is applied to.

created_at
string

The date and time, in UTC, the AccessGrant was created. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"

created_by
string

The token for the User who created the AccessGrant.