Authorización

Esta página aún no ha sido traducida al español.

After obtaining your account's API Token, you should test your connection with our whoami endpoint.

All requests made to Seliom's API should include the following headers:

  • Authorization: your auth token.

  • X-Organization: your organization's UUID.

  • Content-Type: application/json

get
Who Am I?

https://api.seliom.com/whoami
This endpoint validates your API token and returns information about yourself.
Request
Response
Request
Headers
Content-Type
optional
string
application/json
X-ORGANIZATION
required
string
UUID of the organization for which you are making the request
Authentication
required
string
Your authentication token
Response
200: OK
Authorization successful.
{
"first_name": "Clark",
"last_name": "Kent",
"organization": "Seliom"
}
401: Unauthorized
You auth token or organization UUID is invalid.
{
"message": "Please log in to continue."
}