Get your integration and agencies
Returns the integration your API key belongs to, the agencies it may access and its scopes. Call it first: every other path needs the id of one of these agencies.
GET
https://api.alia.cx/api/v1/ meResponses
200OKYour integration, agencies and scopes.
integrationobjectRequiredThe integration your API key belongs to.
Show 2 child fieldsHide child fields
idstringRequiredIntegration id.
namestringRequiredIntegration name.
agenciesarray of objectsRequiredAgencies your key may access, sorted by name.
Show 2 child fieldsHide child fields
idstringRequiredAgency ID. Use it as
agencyIdin paths. It never changes.namestring or nullRequiredAgency name. Null when the agency has no name set.
scopesarray of stringsRequiredActions your key may take.
Errors
- 401Unauthorized
PartnerUnauthorizedThe bearer token is missing or not valid. - 403Forbidden
PartnerForbiddenThe key may not do this. - 404Not found
PartnerNotFoundNot found. - 500Server error
PartnerInternalErrorAlia failed to handle the request.
Every error body is JSON with the same two fields: _tag names the error and message explains it. How errors work