Account and agency
Get my employee record by id
Read the signed-in account's employee record using its own user ID. This operation cannot read another employee's record.
GET
/v1/agencies/{agencyId}/account/membership/{employeeId}Read the signed-in account's employee record using its own user ID. This operation cannot read another employee's record.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
agencyId*string
Length
1 <= lengthemployeeId*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/agencies/string/account/membership/string" \ -H "Authorization: Bearer YOUR_API_KEY"{ "data": { "id": "string", "createdAt": "2019-08-24T14:15:22Z", "timezone": "string", "updatedAt": "2019-08-24T14:15:22Z", "telegramEnabled": true, "discordEnabled": true, "notifyPurchase": true, "notifyNewMessage": true, "notifyHandover": true, "notifyNewSubscriber": true, "notifyNoScriptLeft": true, "notifyLowBalance": true, "discordWebhookUrl": null, "telegramChatId": null, "telegramUsername": null, "inAppEnabled": true, "emailEnabled": true }, "meta": { "requestId": "string" }}