Download OpenAPI specification:Download
Base URL: https://{subdomain}.spiff.com
Default subdomain: app
Import info
Unauthorized
{- "imports": [
- {
- "id": "0a5de148-4864-41f3-bd59-03ee50435e14",
- "status": "success",
- "completed_at": "2022-01-01T00:00:00.000-00:00",
- "created_at": "2022-01-01T00:00:00.000-00:00",
- "import_action": "upsert",
- "import_target": "teams",
- "import_errors": [
- "Error message"
], - "warnings": [
- "Warning message"
]
}
]
}
Import action type and data to be processed
Import created
Unauthorized
Unable to find the object for the import
{- "import_target": "0a5de148-4864-41f3-bd59-03ee50435e14",
- "import_action": "upsert",
- "payload": [
- {
- "external_id": "12345",
- "name": "Jane Doe",
- "email": "jane.doe@company.com"
}
]
}
{- "import": {
- "id": "0a5de148-4864-41f3-bd59-03ee50435e14",
- "status": "success",
- "completed_at": "2022-01-01T00:00:00.000-00:00",
- "created_at": "2022-01-01T00:00:00.000-00:00",
- "import_action": "upsert",
- "import_target": "teams",
- "import_errors": [
- "Error message"
], - "warnings": [
- "Warning message"
]
}
}
Import info
Unauthorized
{- "imports": [
- {
- "id": "0a5de148-4864-41f3-bd59-03ee50435e14",
- "status": "success",
- "completed_at": "2022-01-01T00:00:00.000-00:00",
- "created_at": "2022-01-01T00:00:00.000-00:00",
- "import_action": "upsert",
- "import_target": "teams",
- "import_errors": [
- "Error message"
], - "warnings": [
- "Warning message"
]
}
]
}
The signature header was generated correctly
Unauthorized
Unable to find the company
{- "company_id": "0a5de148-4864-41f3-bd59-03ee50435e14"
}
{- "success": true
}
Webhook API for upserting or deleting records. Provides instant acceptance/rejection of data, as opposed to job processing.
Success
Unauthorized
Unprocessible entity
{- "external_id": "12345",
- "name": "Jane Doe",
- "email": "jane.doe@company.com"
}
{- "ok": true
}
Success
Unauthorized
Unprocessible entity
[- {
- "external_id": "12345",
- "name": "Jane Doe",
- "email": "jane.doe@company.com"
}, - {
- "external_id": "67890",
- "name": "John Smith",
- "email": "john.smith@company.com"
}
]
{- "ok": true
}
Success
Unauthorized
[- {
- "external_id": "12345"
}, - {
- "external_id": "67890"
}
]
{- "ok": true
}
Test webhook authentication and formatting, without upserting data.
Success
Unauthorized
{- "external_id": "12345",
- "name": "Jane Doe",
- "email": "jane.doe@company.com"
}
{- "ok": true
}
Object API for CRUD operations on objects in Spiff. This is an Alpha release, and may produce unintended results.
List of objects and their fields
Unauthorized
Unable to find the company
{- "objects": [
- {
- "id": "0a5de148-4864-41f3-bd59-03ee50435e14",
- "label": "User",
- "label_plural": "Users",
- "record_type": "user",
- "source": "manual",
- "fields": [
- {
- "name": "email",
- "data_type": "string",
- "required": true
}
]
}
]
}
Object and its fields
object (ObjectPayload) Parameters used to create a new object |
Object created
Unauthorized
Unable to find the company
{- "object": {
- "label": "Users",
- "record_type": "user",
- "source": "salesforce",
- "fields": [
- {
- "name": "email",
- "data_type": "string",
- "required": true
}
]
}
}
{- "object": {
- "id": "0a5de148-4864-41f3-bd59-03ee50435e14",
- "label": "User",
- "label_plural": "Users",
- "record_type": "user",
- "source": "manual",
- "fields": [
- {
- "name": "email",
- "data_type": "string",
- "required": true
}
]
}
}
Object and its fields
Unauthorized
Unable to find the company
{- "object": {
- "id": "0a5de148-4864-41f3-bd59-03ee50435e14",
- "label": "User",
- "label_plural": "Users",
- "record_type": "user",
- "source": "manual",
- "fields": [
- {
- "name": "email",
- "data_type": "string",
- "required": true
}
]
}
}
Object and its fields
object (ObjectPayload) Parameters used to create a new object |
Object fields updated
Unauthorized
Unable to find the company or object
Invalid request
{- "object": {
- "label": "Users",
- "record_type": "user",
- "source": "salesforce",
- "fields": [
- {
- "name": "email",
- "data_type": "string",
- "required": true
}
]
}
}
{- "object": {
- "id": "0a5de148-4864-41f3-bd59-03ee50435e14",
- "label": "User",
- "label_plural": "Users",
- "record_type": "user",
- "source": "manual",
- "fields": [
- {
- "name": "email",
- "data_type": "string",
- "required": true
}
]
}
}
Object deleted
Unauthorized
Unable to find the company or object
Invalid request
{- "object": {
- "id": "0a5de148-4864-41f3-bd59-03ee50435e14",
- "label": "User",
- "label_plural": "Users",
- "record_type": "user",
- "source": "manual",
- "fields": [
- {
- "name": "email",
- "data_type": "string",
- "required": true
}
]
}
}