Autenticação
Todas as requisições devem conter o token de autenticação no header:
Authorization: Bearer {SEU_TOKEN}
x-workspace-uuid: {SEU_UUID_WORKSPACE}
Content-Type: application/jsonURL Base
https://sync-core-api.otima.io/whatsapp/providerHeader (obrigatório)
Exemplo de Requisição com Header:
curl -X POST https://sync-core-api.otima.io/whatsapp/provider/{NUMERO}/send-message \
-H "Authorization: Bearer {SEU_TOKEN}" \
-H "x-workspace-uuid: {SEU_UUID_WORKSPACE}" \
-H "Content-Type: application/json" \
-d '{
"to": "5511999999999",
"type": "text",
"text": {
"body": "Mensagem de teste"
}
}'Erro de Autenticação:
Gerando um token:



Atualizado

