Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The API version to use.
Available options:
v1, v2 curl --request GET \
--url https://api.perscom.io/{version}/me \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 123,
"name": "<string>",
"email": "<string>",
"email_verified_at": "2023-11-07T05:31:56Z",
"phone_number": "<string>",
"position_id": 123,
"rank_id": 123,
"specialty_id": 123,
"status_id": 123,
"unit_id": 123,
"approved": true,
"online": true,
"notes": "<string>",
"notes_updated_at": "2023-11-07T05:31:56Z",
"profile_photo_url": "<string>",
"cover_photo_url": "<string>",
"discord_user_id": "<string>",
"timezone": "<string>",
"last_seen_at": "2023-11-07T05:31:56Z",
"last_assignment_change_date": "2023-11-07T05:31:56Z",
"last_rank_change_date": "2023-11-07T05:31:56Z",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
}
}curl --request GET \
--url https://api.perscom.io/{version}/me \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 123,
"name": "<string>",
"email": "<string>",
"email_verified_at": "2023-11-07T05:31:56Z",
"phone_number": "<string>",
"position_id": 123,
"rank_id": 123,
"specialty_id": 123,
"status_id": 123,
"unit_id": 123,
"approved": true,
"online": true,
"notes": "<string>",
"notes_updated_at": "2023-11-07T05:31:56Z",
"profile_photo_url": "<string>",
"cover_photo_url": "<string>",
"discord_user_id": "<string>",
"timezone": "<string>",
"last_seen_at": "2023-11-07T05:31:56Z",
"last_assignment_change_date": "2023-11-07T05:31:56Z",
"last_rank_change_date": "2023-11-07T05:31:56Z",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The API version to use.
v1, v2 Was this page helpful?