Identity
Identity
Identity endpoints of the Ellipsis REST API.
| Method | Path | Required permissions |
|---|---|---|
| GET | /v1/identity | read:account |
Token access
- API key
- Supported.
- CLI user token
- Supported.
- Sandbox token
- Requires the ellipsis:api scope and the required grants in the token's permissions.ellipsis configuration.
Higher permission levels include lower levels: read < write < delete.
curl "https://api.ellipsis.dev/v1/identity" \
-H "Authorization: Bearer $ELLIPSIS_API_TOKEN"import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.identity()
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.identity();
console.log(result);Request
Response
Example response, 200
{
"api_key_id": "string",
"customer_id": "string",
"customer_login": "string",
"sandbox_id": "string",
"user_id": "string"
}