Skip to content

Get a follow-up

GET
/api/v1/follow-ups/{id}
curl --request GET \
--url https://digize.com/api/v1/follow-ups/example \
--header 'x-api-key: <x-api-key>'

One follow-up: when it’s due, who it’s for, its note and task, and how it ended, with what the agent said it did.

Needs the crm:read permission.

id
required
string
>= 1 characters <= 64 characters

Done

Media typeapplication/json
object
id
required
string
contactId
required
string | null
contactName
required
string | null
ownerId
required

The member it’s for, by user id, who’s told when it’s due.

string
createdById
required

The member who set it, whom the agent acts for.

string | null
createdByName
required
string
dueAt
required
string format: date-time
note
required
string
closeOnReply
required

Whether it’s done as soon as the contact writes back.

boolean
task
required

What the agent does when it’s due, if it works on its own by then.

string | null
status
required

Open: waiting for its time, or once due for its owner; agent: the agent has it; done; cancelled.

string
Allowed values: open agent done cancelled
outcome
required
Any of:
string
Allowed values: completed replied agent
firedAt
required
Any of:
string format: date-time
runId
required
string | null
chatId
required

The chat the agent worked on it in, at /c/{chatId}.

string | null
result
required

What the agent said it did, or why it couldn’t.

string | null
closedAt
required
Any of:
string format: date-time
closedBy
required
string | null
createdAt
required
string format: date-time
updatedAt
required
string format: date-time

Example

{
"status": "open",
"outcome": "completed"
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}