Reinitialiser la file courante
Creates a fresh, empty queue assigned to the authenticated user. Any older queue with the same assignee stops being returned by GET /current (the newest queue wins). Send user_id or email to create the queue for a teammate instead — the API key owner is recorded as creator_id, the teammate as assignee_id. user_id wins when both are provided.
Cibler la file d’un coequipier
Par defaut, cet endpoint cree une file vide pour le proprietaire de la cle API. Pour creer la file pour un coequipier, envoyezuser_id ou email dans le corps JSON. Le coequipier doit appartenir a la meme equipe que le proprietaire de la cle API.
user_id— l’emporte quand les deux sont fournis. Resolvez les ids des coequipiers viaGET /v2/api/users.email— utilise uniquement quanduser_idest absent.
creator_id et le coequipier comme assignee_id. Si l’utilisateur resolu n’est pas dans votre equipe, la reponse est 404 ASSIGNEE_NOT_FOUND.Autorisations
Corps
Optional payload for resetting a queue. Send an empty body to reset your own queue without renaming.
Display name for the new queue (max 255 characters). Leave unset to create the queue without a name.
255Optional. ID of a teammate the new queue should be assigned to. The API key owner is recorded as creator_id. The teammate must belong to the same team as the API key owner. Wins over email when both are provided.
"usr-15BB68317A7F06F0C07A3BBD8F244102A6872220"
Optional. Email of a teammate the new queue should be assigned to. Ignored when user_id is also supplied.
Réponse
The newly created (empty) queue
A user's Power Dialer queue with its configuration and numbers.