Docs

Authorize Department

GET /Departments/{departmentId}/authorize

GET/Departments/{departmentId}/authorize

Exchanges the organization token for a department token for the department, sent as the x-Department-Token header. The department id comes from Organizations_GetDepartments. Fails when the department does not exist.

Path Parameters

FieldTypeRequiredDescription
departmentIduuidRequired

Response

FieldTypeDescription
tokenstring| null