Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This needs to be requested from the following url using a POST request. Once the token has been returned, it will expire after 60 minutes.

POST
GET

https://{enterprise}.cvtr.io

/oauth/v2/token

/api/v3/campaign/{CAMPAIGN_ID}/leads/{LEAD_ID}?access_token={ACCESS_TOKEN}


Must be set to "password"
ParameterRequiredDescription
clientCAMPAIGN_idIDYesClient ID which is supplied on a platform wide bases
client_secretYesClient Secret which is supplied on a platform wide bases
grant_typeYesCampaign ID of lead
LEAD_IDYesLead ID
ACCESS_TOKENYesAccess token (more information)
usernameYesYour username
passwordYesYour password

Response

{
    access_token: "ODM5NTIwNjk1MjdhNTMzMzk0MTY2Y2ZkYjg2OWFlN2Y5YzZlNTk1NmUwZmVjOGRkMDhhMzllYTA2ZTA0MDI3Zg"
    expires_in: 3600
    token_type: "bearer"
    scope: null
    refresh_token: "YTQzODk3MDdiM2FhMGYzODYyOTcyOTBkYWZiZWI3YzJmNmEwYmJkYWJiM2I0NzU1Y2Q5OTcwZDA0YzhiZGNjYQ"
}

...