platform
GET
https://hermetica.15.204.158.166.sslip.io /v1/account-exports Parameters
limitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/account-exports" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"status": "queued",
"error": "string",
"sizeBytes": 0,
"datasets": {},
"createdAt": "2024-01-01T00:00:00Z",
"finishedAt": "2024-01-01T00:00:00Z",
"downloadPath": "string",
"options": {
"datasets": [
"string"
],
"since": "string"
}
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredstatusstringrequirederrorstringrequiredsizeBytesintegerrequireddatasetsobjectrequiredcreatedAtstringrequiredfinishedAtstringrequireddownloadPathstringrequiredoptionsobjectShow child parameters
datasetsstring[]sincestringnextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermetica.15.204.158.166.sslip.io /v1/account-exports Export the whole workspace (profiles, segments, campaigns, templates, flows, forms, suppressions, events, lists) as a zip of NDJSON plus manifest
Request body
application/json
datasetsstring[]sincestring{
"datasets": [
"profiles"
],
"since": "2024-01-01T00:00:00Z"
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/account-exports" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"datasets":["profiles"],"since":"2024-01-01T00:00:00Z"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 Default Response
Example
{
"id": "string",
"status": "queued",
"error": "string",
"sizeBytes": 0,
"datasets": {},
"createdAt": "2024-01-01T00:00:00Z",
"finishedAt": "2024-01-01T00:00:00Z",
"downloadPath": "string",
"options": {
"datasets": [
"string"
],
"since": "string"
}
}Schema
idstringrequiredstatusstringrequirederrorstringrequiredsizeBytesintegerrequireddatasetsobjectrequiredcreatedAtstringrequiredfinishedAtstringrequireddownloadPathstringrequiredoptionsobjectShow child parameters
datasetsstring[]sincestringGET
https://hermetica.15.204.158.166.sslip.io /v1/account-exports/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/account-exports/{id}" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermetica.15.204.158.166.sslip.io /v1/account-exports/{id}/download Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/account-exports/{id}/download" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
{}GET
https://hermetica.15.204.158.166.sslip.io /v1/oauth/clients Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/oauth/clients" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"clientId": "string",
"name": "string",
"redirectUris": [
"string"
],
"scopes": [
"string"
],
"isPublic": true,
"revokedAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredclientIdstringrequirednamestringrequiredredirectUrisstring[]requiredscopesstring[]requiredisPublicbooleanrequiredrevokedAtstringrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermetica.15.204.158.166.sslip.io /v1/oauth/clients Register an OAuth client; the secret is shown once
Request body
application/json
namestringrequiredredirectUrisstring[]requiredscopesstring[]requiredpublicboolean{
"name": "string",
"redirectUris": [
"string"
],
"scopes": [
"string"
],
"public": false
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/oauth/clients" \
-H "Content-Type: application/json" \
-d '{"name":"string","redirectUris":["string"],"scopes":["string"],"public":false}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"clientId": "string",
"name": "string",
"redirectUris": [
"string"
],
"scopes": [
"string"
],
"isPublic": true,
"revokedAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z",
"clientSecret": "string"
}Schema
idstringrequiredclientIdstringrequirednamestringrequiredredirectUrisstring[]requiredscopesstring[]requiredisPublicbooleanrequiredrevokedAtstringrequiredcreatedAtstringrequiredclientSecretstringrequiredDELETE
https://hermetica.15.204.158.166.sslip.io /v1/oauth/clients/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermetica.15.204.158.166.sslip.io/v1/oauth/clients/{id}" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermetica.15.204.158.166.sslip.io /v1/oauth/authorize Validate an authorization request and describe what the app asks for
Parameters
client_idstringqueryrequiredredirect_uristringqueryrequiredscopestringquerystatestringquerycode_challengestringqueryrequiredcode_challenge_methodstringqueryrequiredCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/oauth/authorize?client_id=<client_id>&redirect_uri=<redirect_uri>&code_challenge=<code_challenge>&code_challenge_method=S256"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"clientName": "string",
"clientId": "string",
"scopes": [
"string"
],
"redirectUri": "string"
}Schema
clientNamestringrequiredclientIdstringrequiredscopesstring[]requiredredirectUristringrequiredPOST
https://hermetica.15.204.158.166.sslip.io /v1/oauth/authorize The user approved: returns the redirect URL carrying the single-use code (PKCE S256 required)
Request body
application/json
client_idstringrequiredredirect_uristringrequiredscopestringstatestringcode_challengestringrequiredcode_challenge_methodstringrequired{
"client_id": "string",
"redirect_uri": "string",
"scope": "",
"state": "string",
"code_challenge": "string",
"code_challenge_method": "S256"
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/oauth/authorize" \
-H "Content-Type: application/json" \
-d '{"client_id":"string","redirect_uri":"string","scope":"","state":"string","code_challenge":"string","code_challenge_method":"S256"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"redirectUrl": "string"
}Schema
redirectUrlstringrequiredUpdated