curl --request POST \
--url https://api.withallo.com/v2/api/dialing-queues/current \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Monday cold calls"
}
'{
"data": {
"id": "pdl_2xGh7kLmNpQr",
"name": "Monday cold calls",
"creator_id": "usr_abc123",
"assignee_id": "usr_abc123",
"voicemail_handling": "NO_SKIP",
"do_not_disturb": "DISABLED",
"numbers": [],
"created_at": "2026-05-06T10:00:00",
"updated_at": "2026-05-06T10:00:00"
}
}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.
curl --request POST \
--url https://api.withallo.com/v2/api/dialing-queues/current \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Monday cold calls"
}
'{
"data": {
"id": "pdl_2xGh7kLmNpQr",
"name": "Monday cold calls",
"creator_id": "usr_abc123",
"assignee_id": "usr_abc123",
"voicemail_handling": "NO_SKIP",
"do_not_disturb": "DISABLED",
"numbers": [],
"created_at": "2026-05-06T10:00:00",
"updated_at": "2026-05-06T10:00:00"
}
}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.
Show child attributes
Show child attributes
Cette page vous a-t-elle été utile ?