Early access: these pages are being written and reviewed. Facts in the header boxes come straight from the product.
Count your Follow-ups for the tab badges
GET
/api/v1/follow-ups/summary
const url = 'https://api.pitch2sale.com/api/v1/follow-ups/summary';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.pitch2sale.com/api/v1/follow-ups/summary \ --header 'Authorization: Bearer <token>'open is your open cards; other_threads is your emails waiting over 48 hours for a reply that belong to no lead.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Counts
Media typeapplication/json
object
open
required
number
other_threads
required
number
Examplegenerated
{ "open": 1, "other_threads": 1}Authentication required or token invalid
Media typeapplication/json
object
error
required
string
code
string
message
string
details
Array<object>
object
field
required
string
message
required
string
code
required
string
Examplegenerated
{ "error": "example", "code": "example", "message": "example", "details": [ { "field": "example", "message": "example", "code": "example" } ]}Role permission or token scope missing; OAuth app tokens are not accepted on this route
Media typeapplication/json
object
error
required
string
code
string
message
string
details
Array<object>
object
field
required
string
message
required
string
code
required
string
Examplegenerated
{ "error": "example", "code": "example", "message": "example", "details": [ { "field": "example", "message": "example", "code": "example" } ]}Rate limit exceeded
Media typeapplication/json
object
error
required
string
code
string
message
string
details
Array<object>
object
field
required
string
message
required
string
code
required
string
Examplegenerated
{ "error": "example", "code": "example", "message": "example", "details": [ { "field": "example", "message": "example", "code": "example" } ]}