SendContactRequest takes the payload received from ParseDeepLink and send a contact request using the Berty Protocol.

POST /messenger/v1/SendContactRequest

Body Required

  • berty_id object
    Hide berty_id attributes Show berty_id attributes object
    • public_rendezvous_seed string(byte)
    • account_pk string(byte)
    • display_name string
  • metadata string(byte)
  • own_metadata string(byte)

Responses

  • 200

    A successful response.

  • default

    An unexpected error response

    Hide response attributes Show response attributes object
    • error string
    • code integer(int32)
    • message string
    • details array[object]
      Hide details attributes Show details attributes array[object]
      • type_url string
      • value string(byte)
POST /messenger/v1/SendContactRequest
curl \
 -X POST http://api.example.com/messenger/v1/SendContactRequest \
 -d '{"berty_id":{"public_rendezvous_seed":"string","account_pk":"string","display_name":"string"},"metadata":"string","own_metadata":"string"}'
Request example
{
  "berty_id": {
    "public_rendezvous_seed": "string",
    "account_pk": "string",
    "display_name": "string"
  },
  "metadata": "string",
  "own_metadata": "string"
}
Request examples
{
  "berty_id": {
    "public_rendezvous_seed": "string",
    "account_pk": "string",
    "display_name": "string"
  },
  "metadata": "string",
  "own_metadata": "string"
}
Response examples (200)
{}
Response examples (200)
{}
Response examples (default)
{
  "error": "string",
  "code": 42,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}
Response examples (default)
{
  "error": "string",
  "code": 42,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}