Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: password authorization

...

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


Additionally, a token can be requested using user credentials. In order to do that, you need to send a POST request to

POST

https://{enterprise}.cvtr.io/oauth/v2/token


ParameterRequiredDescription
client_idYesClient ID which is supplied on a platform wide bases
client_secretYesClient Secret which is supplied on a platform wide bases
api_keyYesAPI Key that is unique to each user
grant_typeYesMust be set to "password"
usernameYesYour username
passwordYesYour password


3.3 Form Fields Endpoint

This API call will supply an array of forms which are available to `POST` leads to (see section 3.5) on a given campaign.
The response will allow you to see which form fields are available to populate per form (each campaign can have multiple forms).

...