Criação de endpoints

Defina seus endpoints através desta API

post/

Request

  • Base URL
    https://api.stage.cora.com.br/endpoints
  • URL
    https://api.stage.cora.com.br/endpoints/
  • Auth
    OAuth 2

Headers

Idempotency-Keystring required

UUID aleatório gerado por você. Nós utilizamos esse header para evitar duplicidade de registros, ou seja, caso você não tenha recebido a resposta de alguma requisição e mandar o mesmo UUID, nós não duplicaremos o registro.

Request body

urlstring required
resourcestring required
triggerstring required

Response

200

idstring
urlstring
resourcestring
triggerstring
connectionTimeoutinteger
readTimeoutinteger
includeResourceboolean
expandableboolean
activeboolean

Example response

{
  "id": "end_7U5bxdP8V8vei8eD8TzEZK",
  "url": "https://postb.in/1591876773682-9229138223454",
  "resource": "invoice",
  "trigger": "paid",
  "connectionTimeout": 1000,
  "readTimeout": 2000,
  "active": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.