API reference
Every route an API key can call, built from the API's OpenAPI document on each release.
Conventions
| Base URL | https://api.omnio.sawego.com/v1 |
|---|---|
| Authentication | Authorization: Bearer omn_..., see Authentication |
| Format | JSON bodies, UTC timestamps in ISO 8601 |
| Lists | Cursor pages, see Pagination |
| Retries | Idempotency-Key on creates, see Idempotency |
| Version | /v1, with no breaking change inside it. Schema 0.1.0 |
Messages
Media
Templates
Conversations
Notes
Contacts
- GET
/v1/contactsList contacts - POST
/v1/contactsCreate contact - GET
/v1/contacts/countsContact counts - GET
/v1/contacts/{customer_id}Get contact - PATCH
/v1/contacts/{customer_id}Change contact - DEL
/v1/contacts/{customer_id}Delete contact - POST
/v1/contacts/{customer_id}/restoreRestore contact - POST
/v1/contacts/{customer_id}/blockBlock contact - DEL
/v1/contacts/{customer_id}/blockUnblock contact - POST
/v1/contacts/{customer_id}/tagsAdd tag - DEL
/v1/contacts/{customer_id}/tags/{tag_id}Remove tag - PUT
/v1/contacts/{customer_id}/lifecycleSet lifecycle - PUT
/v1/contacts/{customer_id}/collaboratorsSet collaborators
Tags
Lifecycle stages
Custom fields
Search
Imports
- GET
/v1/importsList imports - POST
/v1/importsCreate import - GET
/v1/imports/{import_id}Get import - GET
/v1/import-mappings/templatesList built-in mappings - GET
/v1/import-mappingsList mappings - POST
/v1/import-mappingsCreate mapping - PATCH
/v1/import-mappings/{mapping_id}Change mapping - DEL
/v1/import-mappings/{mapping_id}Delete mapping