Early access: these pages are being written and reviewed. Facts in the header boxes come straight from the product.
Your own WhatsApp number for follow-up drafts
GET
/api/v1/follow-ups/me/whatsapp-phone
const url = 'https://api.pitch2sale.com/api/v1/follow-ups/me/whatsapp-phone';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/me/whatsapp-phone \ --header 'Authorization: Bearer <token>'The number you entered, and whether you proved it with the one-time code. Only a verified number can approve a draft.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Your number
Media typeapplication/json
object
phone
required
string | null
verified
required
boolean
Examplegenerated
{ "phone": "example", "verified": true}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" } ]}