Listar contatos
curl --request GET \
--url https://api.notifique.dev/v1/contacts \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.notifique.dev/v1/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.notifique.dev/v1/contacts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.notifique.dev/v1/contacts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"data": [
{
"id": "clxx...",
"name": "Exemplo",
"phone": "string",
"email": "string",
"languages": [
"string"
],
"receiveMarketing": true,
"telegramLinks": [
{
"instanceId": "clxx...",
"peer": "string",
"instanceName": "string"
}
],
"url": "https://example.com/resource",
"createdAt": "2025-02-10T14:00:00.000Z",
"updatedAt": "2025-02-10T14:00:00.000Z",
"tags": [
{
"id": "clxx...",
"name": "Exemplo"
}
]
}
],
"pagination": {
"total": 1,
"page": 1,
"limit": 1,
"totalPages": 1
}
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}Contatos
Listar contatos
Lista contatos cadastrados.
GET
/
v1
/
contacts
Listar contatos
curl --request GET \
--url https://api.notifique.dev/v1/contacts \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.notifique.dev/v1/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.notifique.dev/v1/contacts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.notifique.dev/v1/contacts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"data": [
{
"id": "clxx...",
"name": "Exemplo",
"phone": "string",
"email": "string",
"languages": [
"string"
],
"receiveMarketing": true,
"telegramLinks": [
{
"instanceId": "clxx...",
"peer": "string",
"instanceName": "string"
}
],
"url": "https://example.com/resource",
"createdAt": "2025-02-10T14:00:00.000Z",
"updatedAt": "2025-02-10T14:00:00.000Z",
"tags": [
{
"id": "clxx...",
"name": "Exemplo"
}
]
}
],
"pagination": {
"total": 1,
"page": 1,
"limit": 1,
"totalPages": 1
}
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}{
"success": false,
"error": "Bad Request",
"code": "VALIDATION_ERROR",
"message": "Campo inválido ou ausente."
}Autorizações
ntfContactBearerAuthntfContactApiKeyHeader
Authorization: Bearer sk_live_xxxxx
Parâmetros de consulta
Página (default 1)
Itens por página (default 20, máx 100)
Busca por nome, telefone ou e-mail
Filtrar contatos que têm esta tag
Esta página foi útil?

